//
//  DetailVideoFooterView.swift
//  甜言蜜语
//
//  Created by yingli_yanfa_liuxingyu on 16/9/8.
//  Copyright © 2016年 wl. All rights reserved.
//

import UIKit
protocol DetailVideoFooterViewDelegate {
    func VideocollectionBtnSelected(sender: UIButton)
    func VideowatchBtnSelected(sender: UIButton)
    func VideotransmitBtnSelected(sender: UIButton)
    
}
class DetailVideoFooterView: UIView {
    @IBOutlet weak var collectionBtn: UIButton!
    @IBOutlet weak var transmitBtn: UIButton!
    @IBOutlet weak var watchBtn: UIButton!
    var delegate:DetailVideoFooterViewDelegate?
    @IBAction func collectionBtnClicked(sender: UIButton){
        delegate!.VideocollectionBtnSelected(sender)
    }
    @IBAction func watchBtnClicked(sender: UIButton){
       
        delegate!.VideowatchBtnSelected(sender)
    }
    
    @IBAction func transmitBtnClicked(sender: UIButton){
       delegate!.VideotransmitBtnSelected(sender)
    }
    /*
    // Only override drawRect: if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func drawRect(rect: CGRect) {
        // Drawing code
    }
    */

}
